package org.jeecg.modules.yfFenfgl.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.workflow.vo.MyApplyVO;
import org.jeecg.modules.workflow.vo.MyDoneVO;
import org.jeecg.modules.workflow.vo.MyTodoVO;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 分房管理
 * @Author: jeecg-boot
 * @Date:   2020-07-15
 * @Version: V1.0
 */
@Data
@TableName("hq_yf_fenfgl")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="hq_yf_fenfgl对象", description="分房管理")
public class HqYfFenfgl implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;

    @TableField(exist = false)
	private String createTimeBegin;

    @TableField(exist = false)
	private String createTimeEnd;


	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;

    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;


    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

    @Excel(name = "申请类型", width = 15, dicCode = "shenqlx")
    @Dict(dicCode = "shenqlx")
    private String shenqlx;

    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "姓名")
    private String xingm;

    /*部级别*/
    @Excel(name = "部职别",width = 22,dicCode = "buzb")
    private String buzb;


    /**所属单位*/
//    @Excel(name = "所属单位", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @ApiModelProperty(value = "所属单位")
    private String suosdw;




    /*现职务*/
    @Excel(name = "现职级", width = 15, dicCode = "xianzj")
    @Dict(dicCode = "xianzj")
    @ApiModelProperty(value = "现职级")
    private String xianzj;

     /*现职务时间*/
    @Excel(name = "现职级时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "现职级时间")
    private Date xianzjsj;


    /**是否随军*/
    @Excel(name = "是否随军", width = 15, dicCode = "yesOrNo")
    @Dict(dicCode = "yesOrNo")
    @ApiModelProperty(value = "是否随军")
    private String shifsj;

    /**是否连迁*/
    @Excel(name = "是否连迁", width = 15, dicCode = "yesOrNo")
    @Dict(dicCode = "yesOrNo")
    @ApiModelProperty(value = "是否连迁")
    private String shiflq;


     /*参加工作时间*/
    @Excel(name = "参加工作时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "参加工作时间")
    private  Date canjgzsj;

    /**入伍时间*/
    @Excel(name = "入伍时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "入伍时间")
    private Date ruwsj;


    /**是否双军人*/
    @Excel(name = "是否双军人", width = 15, dicCode = "yesOrNo")
    @Dict(dicCode = "yesOrNo")
    @ApiModelProperty(value = "是否双军人")
    private String shifsjr;

    /**是否二胎*/
    @Excel(name = "是否二胎", width = 15, dicCode = "yesOrNo")
    @Dict(dicCode = "yesOrNo")
    @ApiModelProperty(value = "是否二胎")
    private String shifet;

    /*出生日期*/
    @Excel(name = "出生日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "出生日期")
    private  Date chusrq;

    @TableField(exist = false)
    private String chusrqEnd;

    @TableField(exist = false)
    private String chusrqBegin;






    /*序号*/
    private Double sequence;

    /*进程实例id*/
    private String processInstanceId;


     /*进程状态*/
    @Dict(dicCode = "processStatus")
    private Integer processStatus;

     /*目标id*/
    private String taskId;

    /**申请人*/
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @ApiModelProperty(value = "申请人")
    private String shenqrId;

    /*级别*/
    @Dict(dicCode = "jib")
    private String jib;



    @TableField(exist = false)
    private String suosdw_fullName;

    /**电话*/
    @ApiModelProperty(value = "电话")
    private String dianh;


     /*住房情况*/
    @Excel(name = "住房情况", width = 30, dicCode = "zhufqk")
    @Dict(dicCode = "zhufqk")
    private String zhufqk;


    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private java.lang.String fuj;



    /*表单字段信息*/
    @TableField(exist = false)
    private MyApplyVO myApplyVO;
    @TableField(exist = false)
    private MyTodoVO myTodoVO;
    @TableField(exist = false)
    private MyDoneVO myDoneVO;

    @TableField(exist = false)
    private Date endTime;
    @TableField(exist = false)
    private String auditStatus;


    @TableField(exist = false)
    private String assignName;
    @TableField(exist = false)
    private String taskName;
    @TableField(exist = false)
    private String taskMsg;
    @TableField(exist = false)
    private String currtTaskId;
    @TableField(exist = false)
    private String shenpsj;

}
